@(message: String)(implicit session:Session)

@defining(play.core.PlayVersion.current) { version =>

@*****
**header**
***@
<div class="layui-header">
    <div class="layui-logo">dingtalk后台大布局</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item"><a href="">控制台</a></li>
        <li class="layui-nav-item"><a href="@routes.UserNasController.index()">NAS设置</a></li>
        <li class="layui-nav-item"><a href="">用户</a></li>
        <li class="layui-nav-item">
            <a href="javascript:;">其它系统</a>
            <dl class="layui-nav-child">
                <dd><a href="">邮件管理</a></dd>
                <dd><a href="">消息管理</a></dd>
                <dd><a href="">授权管理</a></dd>
                <dd><a href="@routes.UserNasController.index()">NAS信息设置</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a class="nav-link" href="@routes.LayuiController.index()">Index</a></li>
        <li class="layui-nav-item"><a class="nav-link disabled" href="#">Disabled</a></li>
    </ul>

    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item" id="layerOpen">
            @if(session.get("accid").nonEmpty){<!-- if user.is_authenticated -->
            <a href="@routes.UsersController.index()">
                <img src='@routes.Assets.at("images/prologo.png")' class="layui-nav-img">
                @session.get("uname")
            </a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:;">修改信息</a></dd>
                <dd><a href="javascript:;">安全管理</a></dd>
                <!-- if user.is_superuser -->
                @if(session.get("admin").getOrElse("0").eq("true")){<dd><a href="/manageui">管理后台</a></dd>}
                <!-- endif -->
                <dd><a class="lay-btn" data-method="mpassword" data-type="auto" >修改密码</a></dd>
            </dl>
            }else{<!-- else -->

            <a data-method="loginnotice" data-type="auto" class="lay-btn"><img src='@routes.Assets.at("images/prologo.png")' class="layui-nav-img">登陆</a>

            }<!-- endif -->
        </li>
    </ul>
</div>

}